﻿using Microsoft.EntityFrameworkCore;

namespace AiQiuQuan.Sport.Core
{
    /// <summary>
    /// IRepository
    /// </summary>
    public interface IRepository
    {
    }

    /// <summary>
    /// IRepository
    /// </summary>
    public interface IRepository<TDbContext> : IRepository where TDbContext : DbContext
    {
        /// <summary>
        /// DbContext
        /// </summary>
        TDbContext DbContext { get; }
    }

    /// <summary>
    /// IRepository
    /// </summary>
    public interface IRepository<TEntity, TKey, TDbContext> : IRepository<TDbContext>, IExcuteRepository<TEntity, TKey>, IFastBulkRepository<TEntity>, IQueryable<TEntity> where TDbContext : DbContext where TEntity : IEntity<TKey>
    {
    }
}
